﻿@{
    Layout = "../_layout.cshtml";
    Page.Title = "帮助中心";
    Page.Description = V5.Config.View["SiteDescription"];
    Page.Keywords = V5.Config.View["SiteKeywords"];
}
@{
    var Id = InputHelper.SetNumber(Request["Id"]);
    DataRow drView = V5.Help.Get_By(Id.ToString());
    if (drView == null) {
        Response.Write("错误的参数!");
        Response.End();
    }
    Page.Title = drView["Title"];
}
<div id="content">
    <div class="crumbs">
        <span>您现在的位置：</span> <a href="/">@V5.Config.View["SiteTitle"]</a><span>帮助中心</span></div>
    <div class="layout grid-s4m0">
        <div class="col-main">
            <div class="main-wrap">
                <div id="help-content">
                    <h1>@drView["Title"]</h1>
                    <hr>
                    <div id="help-content-info">
                        <div class="detail">
                            @V5.Html.Out(drView["Content"])
                        </div>
                    </div>
                    <hr>
                    <div class="help_backtop">
                        <i class="arrow"></i><a href="#">TOP</a></div>
                </div>
            </div>
        </div>
        <div class="col-sub">
            <div class="left-w150" id="accordion" aria-multiselectable="true" role="tablist">
                <div class="title bzfl">
                </div>
                @{
                    var loopNum = 1;
                    foreach (DataRow dr in V5.Help.Query_By_List("*", "", "ClassCode Asc", 0).Rows) {
                    <div id="ctl00_c1_tab_@(loopNum)" class="ks-switchable-trigger" hidefocus="true" role="tab"
                                aria-expanded="true" aria-selected="true" aria-controls="ctl00_c1_menu_@(loopNum)" tabindex="0">
                        <i class="ks-icon"></i>
                        <h3>@dr["ClassTitle"]</h3>
                    </div>
                    <div id="ctl00_c1_menu_@(loopNum)" class="ks-switchable-panel" style="display: none;" role="tabpanel"
                                aria-hidden="false" aria-labelledby="ctl00_c1_tab_@(loopNum)">
                        <ul class="list-ul">
                            @foreach (DataRow dr1 in V5.Help.Query_By("*", "ClassId=" + dr["ClassId"], "Id Asc", 0).Rows) {
                                <li><a href="@dr1["Url"]" id="ctl00_c1_help_@(dr1["Id"])">@dr1["Title"]</a></li>
                            }
                        </ul>
                    </div>
                            loopNum++;
                    }
                }
            </div>
            <div class="left-w150">
                <div class="title lxkf">
                </div>
                <ul class="list1-ul">
                    <li><a href="#/help/81.html">邮件联系</a></li>
                    <li><a href="#/help/81.html">在线联系</a></li>
                    <li><a href="#/help/81.html">客服电话</a></li>
                    <li class="nobg">400-086-5366</li>
                </ul>
            </div>
        </div>
    </div>
</div>
@section meta{
    <link rel="stylesheet" type="text/css" href="/@(V5.Config.TemplatePath)/style/book-view.css" />
}
@section header{
    @RenderPage("../inc/_header-channel-nav.cshtml")
}
@section footer{
    @RenderPage("../inc/_footer-friendlinks.cshtml")
}
@section bottom{
    <script type="text/javascript" src="/@(V5.Config.TemplatePath)/Images/ts-common.js"></script>
    <script type="text/javascript" src="/@(V5.Config.TemplatePath)/scripts/book-view.js"></script>
}
